﻿using Nop.Core.Domain.Catalog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nop.Core.ApiDataModel.Catalog
{
	public partial class ProductVariantAttributeValueModel
	{
		public string Name { get; set; }

		public decimal PriceAdjustment { get; set; }

		public decimal WeightAdjustment { get; set; }

		public bool IsPreSelected { get; set; }

		public int DisplayOrder { get; set; }

		public ProductVariantAttributeValueModel(ProductVariantAttributeValue attrValue)
		{
			Name = attrValue.Name;
			PriceAdjustment = attrValue.PriceAdjustment;
			WeightAdjustment = attrValue.WeightAdjustment;
			IsPreSelected = attrValue.IsPreSelected;
			DisplayOrder = attrValue.DisplayOrder;
		}
	}
}
